<template>
  <el-container>
    <el-header style="margin-top: 10px">
      <h3 style="text-align: center">快捷导航功能</h3>
    </el-header>
    <el-main>
      <el-button type="text" @click="merchantVisible=true">GMC账号管理</el-button>
      <el-button type="text" @click="uploadforbiddenkeywordVisuable=true">违禁关键词</el-button>
      <el-button type="text" @click="directlyUploadTaskVisible=true">产品上传管理</el-button>
    </el-main>
    <merchant :merchant-visible="merchantVisible" @closeMerchantDialog="merchantVisible=false" />
    <forbiddenkeyword
      :is-visible="uploadforbiddenkeywordVisuable"
      @closeMyDialog="uploadforbiddenkeywordVisuable=false"
    />
    <directlyuploadtask
      :task-visible="directlyUploadTaskVisible"
      domain=""
      @closeCrawlTaskDialog="directlyUploadTaskVisible=false"
    />
  </el-container>
</template>

<script>
import Merchant from '../orders/element/merchant'
import Forbiddenkeyword from './elements/forbiddenkeyword'
import Directlyuploadtask from './elements/directlyuploadtask'

export default {
  name: 'Index',
  components: {
    Directlyuploadtask,
    Forbiddenkeyword,
    Merchant
  },
  data() {
    return {
      merchantVisible: false,
      uploadforbiddenkeywordVisuable: false,
      directlyUploadTaskVisible: false
    }
  }
}
</script>

<style scoped>

</style>
